<UserControl x:Class="Ausy.Silverlight.Survey.QuestionModule.ViewParts.QuestionnaireView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:prism="http://www.codeplex.com/prism"
    xmlns:converters="clr-namespace:Ausy.Silverlight.Survey.Common.Extensions.Converters;assembly=Ausy.Silverlight.Survey.Common" 
    >
    <UserControl.Resources>
        <converters:VisibilityConverter x:Name="VisibilityConverter"/>
    </UserControl.Resources>
    <StackPanel x:Name="LayoutRoot">
        <ContentControl prism:RegionManager.RegionName="TimerRegion" HorizontalContentAlignment="Stretch"  VerticalAlignment="Center" />
        <ItemsControl Grid.Row="1" ItemsSource="{Binding QuestionViewModelCollection}">
            <ItemsControl.ItemTemplate>
                <DataTemplate>
                    <ContentControl Visibility="{Binding SelectedQuestion, Converter={StaticResource VisibilityConverter}}" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" Content="{Binding View}" />
                </DataTemplate>
            </ItemsControl.ItemTemplate>
        </ItemsControl>
    </StackPanel>
</UserControl>
    